package com.hotel.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName OssEntity
 * @Description TODO
 * @Author Li
 * @Date 2022/3/4 10:43
 * @Version 1.0
 **/
@Data
@Component
@ConfigurationProperties(prefix = "oss")
public class OssEntity {

    /**
     * 端点
     */

    private String endpoint;
    /**
     * 访问密钥id
     */
    private String accessKeyId;
    /**
     * 访问密钥秘密
     */
    private String accessKeySecret;
    /**
     * bucket名称
     */
    private String bucketName;


}
